package com.maiji.cloud.request.shopingmall;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.Arrays;
import java.util.Date;
import java.util.List;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class GoodsFindAllReqData {

    @ApiModelProperty(value="商品名称关键词")
    private String name;

    @ApiModelProperty(value="1-上架商品，2-下架商品，默认值1")
    private Integer upDown = 1;

    @ApiModelProperty(value="排序字段，默认值：排序权重")
    private String orderBy = "sort_weight";

    @ApiModelProperty(value="排序规则，默认值：desc降序")
    private String order = "desc";

    @ApiModelProperty(value="商品ID[]")
    private List<String> goodsIds;

    @ApiModelProperty(value="库存数量[]")
    private List<Integer> stockVolumes = Arrays.asList(1);

    @ApiModelProperty(value="原价格[]")
    private List<Double> originalPrices;

    @ApiModelProperty(value="现价格[]")
    private List<Double> presentPrices;

    @ApiModelProperty(value="销售数量[]")
    private List<Integer> salesVolumes;

    @ApiModelProperty(value="积分兑换[]")
    private List<Integer> integrals;

    @ApiModelProperty(value="收藏数[]")
    private List<Integer> collectionVolumes;

    @ApiModelProperty(value="评论数[]")
    private List<Integer> commentVolumes;

    @ApiModelProperty(value="上架时间[]")
    private List<Date> upDates;

    @ApiModelProperty(value="下架时间[]")
    private List<Date> downDates;

    @ApiModelProperty(value="变更时间[]")
    private List<Date> updateDates;

    @ApiModelProperty(value="标签ID[]")
    private List<String> labelIds;

    @ApiModelProperty(value="是否按未审核评论数排序")
    private Boolean shield = false;

    @ApiModelProperty(value="是否可积分兑换：1是，0否")
    private Integer isExchange;

}
